package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/5/2
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="修改角色")
public class RoleUpdate {
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "角色名称")
    private String name;
    @ApiModelProperty(value = "角色等级")
    private Integer level;

    @ApiModelProperty(value = "模块")
    private String[] module;
    @ApiModelProperty(value = "备注")
    private String remark;

    public String[] getModule() {
        return module;
    }

    public void setModule(String[] module) {
        this.module = module;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
